﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="recoverPasswd.aspx.cs"
    Inherits="PeisongWeb.recoverPasswd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>忘记密码</title>
    <!--#include file="global.inc" -->

    <script type="text/javascript" language="javascript" src="../app_common/scripts/jquery-cn.js"></script>

    <script type="text/javascript">
        function chkFm() {
            if ($("#txt_username").val() == "") {
                alert("请输入用户名！");
                document.getElementById("txt_username").focus();
                return false;
            }
            if ($("#txt_validateCode").val() == "") {
                alert("请输入验证码！");
                document.getElementById("txt_validateCode").focus();
                return false;
            }
            if ($("#txt_email").val() == "") {
                alert("请输入您绑定的E-mail！");
                document.getElementById("txt_email").focus();
                return false;
            }
            return true;
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="container">
        <uc1:headerV3 ID="headerV31" runat="server" />
        <div id="homemain">
            <div id="main">
                <div class="title">
                    <div class="title_text">
                        <ul>
                            <li class="color2">找回密码</li>
                        </ul>
                    </div>
                </div>
                <div class="line_top">
                </div>
                <div id="mainmiddle">
                    <div class="left">
                        <div class="login" id="div_reg_2">
                            <div class="login_title">
                                <span>找回密码</span>
                            </div>
                            <div class="login_main">
                                <ul>
                                    <li>
                                        <label style="width: 140px">
                                            <font style="color: red">*</font>用户名：
                                        </label>
                                        <input runat="server" id="txt_username" name="" type="text" />
                                    </li>
                                    <li>
                                        <label style="width: 140px">
                                            <font style="color: red">*</font>验证码：
                                        </label>
                                        <input runat="server" id="txt_validateCode" name="" type="text" maxlength="5" style="width: 40px;"/>
                                        <img style="cursor: pointer; vertical-align:middle;" onclick="javascript:this.src='ValidateCode.aspx?'+Math.random();" alt="如果你看不清楚,请点击这里刷新验证码." src="validateCode.aspx" />
                                    </li>
                                    <li style="width: auto">
                                        <label style="width: 140px">
                                            <font style="color: red">*</font>绑定的邮箱地址：
                                        </label>
                                        <input runat="server" id="txt_email" name="" type="text" />
                                    </li>
                                </ul>
                                <div style="padding-left:150px; padding-top: 10px;">
                                    <asp:Button runat="server" ID="btn_getPwd" Text="取回密码" OnClientClick="return chkFm();"
                                        OnClick="btn_getPwd_Click" CssClass="button_red_text button_red" />
                                    <input type="button" id="btn_return" onclick="window.location.href='login.html'" value=" 返回 " class="button_red_text button_red"/>
                                    <%--                                    <asp:Button runat="server" ID="lbtn_Submit" Style="width: 90px;" 
                                        OnClick="lbtn_reg_Click" Text="注册" />--%>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="right">
                        <div class="right_login">
                            <ul>
                                <li style="color: #255966">如何找回密码？</li>
                                <li>&nbsp;</li>
                                <li>填写用户名，</li>
                                <li>填写验证码，</li>
                                <li>填写绑定的邮箱地址。</li>
                                <li>点击取回密码。</li>
                                <li>进入你绑定的邮箱找回密码</li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <uc1:footerV2 ID="footerV21" runat="server" />
        <input type="hidden" runat="server" id="hd_type" />
        <input type="hidden" runat="server" id="hd_flow" value="1" />
    </div>
    </form>
</body>
</html>
